package com.spring.framework.spel;//……………………

import java.time.LocalDate;
import java.time.LocalTime;

public class Birth {
    private String birthplace;
    private LocalDate birthDate;
    private LocalTime birthTime;

    @Override
    public String toString() {
        return "Birth{" +
                "birthplace='" + birthplace + '\'' +
                ", birthDate=" + birthDate +
                ", birthTime=" + birthTime +
                '}';
    }

    public String getBirthplace() {
        return birthplace;
    }

    public void setBirthplace(String birthplace) {
        this.birthplace = birthplace;
    }

    public LocalDate getBirthDate() {
        return birthDate;
    }

    public void setBirthDate(LocalDate birthDate) {
        this.birthDate = birthDate;
    }

    public LocalTime getBirthTime() {
        return birthTime;
    }

    public void setBirthTime(LocalTime birthTime) {
        this.birthTime = birthTime;
    }

    public Birth(String birthplace) {
        this.birthplace = birthplace;
    }

    public Birth(String birthplace, LocalDate birthDate, LocalTime birthTime) {
        this.birthplace = birthplace;
        this.birthDate = birthDate;
        this.birthTime = birthTime;
    }
}
